package com.bzframework.pro.api.core.provider;

import com.bzframework.pro.api.core.model.DemoCode;
import com.bzframework.pro.api.core.model.OpenApiHeader;
import com.bzframework.pro.api.core.model.OpenApiQueryParam;
import lombok.Getter;
import lombok.Setter;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;

import java.util.List;

/**
 * @Author bingzhong
 * @Date 2025/3/3 14:55
 * @Description
 */
@Getter
@Setter
public class CompositeApiSupport implements ApiSupport {

    private String id;

    private String name;

    private String url;

    private HttpMethod method;

    private String demoUrl;

    private String responseType = MediaType.APPLICATION_JSON_VALUE;

    private String description;

    private List<OpenApiHeader> headers;

    private List<OpenApiQueryParam> queryParams;

    private String responseDemo = "";

    private List<DemoCode> demoCodes;

}
